# downloader/plugins/example_plugin.py

def register(site_name, pattern, handler):
    """注册新站点支持"""
    import you_get
    you_get.supported_stream_extractor[pattern] = handler
    print(f"Plugin registered for {site_name}")